<template>
  <div>
    <!-- 导航栏 -->
    <van-nav-bar title="设置" left-arrow @click-left="onClickLeft"/>
    <!-- 选项组 -->
    <div class="option">
      <van-cell class="cell-item" title="修改密码" size="large" is-link url="/user/setting/password"/>
      <van-cell class="cell-item" title="上传学生证" size="large" is-link url="/user/setting/upload"/>
      <van-cell class="cell-item" title="修改个人信息" size="large" is-link url="/user/setting/info"/>
    </div>
  </div>
</template>

<script>
export default {
  name: "index",
  data(){
    return{
    }
  },
  created() {
  },
  methods:{
    // 返回个人中心页面
    onClickLeft(){
      this.$router.push("/user")
    },
  }
}
</script>

<style scoped lang="scss">
/* 选项组 */
.option{
  margin-top: 10px;
  .cell-item{
    border-bottom: 1px solid black;
  }
}
</style>
